package com.znufe.exam.service;

import com.github.pagehelper.PageInfo;
import com.znufe.exam.domain.ExamPaper;
import com.znufe.exam.domain.ExamPaperRule;

import com.znufe.exam.viewmodel.admin.exam.ExamRuleRequestVM;
import com.znufe.exam.viewmodel.student.dashboard.PaperFilter;
import com.znufe.exam.viewmodel.student.dashboard.PaperInfo;
import com.znufe.exam.viewmodel.student.exam.ExamPaperPageVM;

import java.util.List;


public interface ExamPaperRuleService extends BaseService<ExamPaper> {

    PageInfo<ExamPaperRule> page(ExamRuleRequestVM principleVM);

    PageInfo<ExamPaperRule> taskExamPage(ExamRuleRequestVM requestVM);

    PageInfo<ExamPaperRule> studentPage(ExamPaperPageVM requestVM);

    List<PaperInfo> indexPaper(PaperFilter paperFilter);

    Integer selectAllCount();

    List<Integer> selectMothCount();

    /**
     * 根据ID获取正式考试试卷列表
     * @param ids
     * @return
     */
    List<ExamPaper> getExamPaperListById(List<Integer> ids);

    /**
     * 根据ID获取所有试卷列表
     * @param ids
     * @return
     */
    List<ExamPaper> getAllExamPaperListById(List<Integer> ids);


}
